package com.llc.mall.user.application.command.commands;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;

@Schema(description = "用户注册信息")
public record UserRegisterCmd(

        @NotBlank(message = "用户名不能为空!")
        @Schema(description = "用户名")
        String userName,

        @NotBlank(message = "用户密码不能为空!")
        @Schema(description = "用户密码")
        String password,

        @Schema(description = "头像")
        String img,

        @Schema(description = "昵称")
        String nickName,

        @Schema(description = "当账户未绑定时，临时的uid")
        String tempUid
) {}
